﻿using MyCode.Project.Infrastructure.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Message.Request.CustomServiceSet
{
    
    #region 自定义套餐详情信息
    public class ServiceSetDetailReq
    {
        /// <summary>
        /// 套餐主键ID 可为空
        /// </summary>
        public Guid? ID { get; set; }

        /// <summary>
        /// 套餐名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 套餐价格
        /// </summary>
        public decimal? Price { get; set; }

        /// <summary>
        /// 状态。1=上架；0=保存不上架。 
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 商品类别 0 服务 1 商品
        /// </summary>
        public int? GoodsType { get; set; }

        /// <summary>
        /// 服务类型的自定义套餐的服务次数
        /// </summary>
        public int Qty { get; set; }

        /// <summary>
        /// 服务分类ID
        /// </summary>
        public Guid? DeptId { get; set; }

        /// <summary>
        /// 套餐内服务列表
        /// </summary>
        public List<ServiceDetailReq> ServiceList { get; set; }

    }

    public class ServiceDetailReq
    {
        /// <summary>
        /// 服务主键ID
        /// </summary>
        public Guid ServiceID { get; set; }

        /// <summary>
        /// 服务次数
        /// </summary>
        public int Qty { get; set; }

    }

    #endregion

    public class KeyWordsSearch
    {
        /// <summary>
        /// 关键字
        /// </summary>
        public string KeyWord { get; set; }
    }



}
